package us.wili.dev.common.util.snowflake;

/**
 * Created by JasonY on 17/6/9.
 */
public class SnowflakeUtilException extends RuntimeException {

    protected Integer code;

    public SnowflakeUtilException(String message) {
        super(message);
    }

    public SnowflakeUtilException(String message, Integer code) {
        super(message);
        this.code = code;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

}
